package com.yitao.cms.model.operationUser;

import com.skipper.base.data.domain.BaseEntity;
import lombok.Data;

import javax.persistence.*;

/**
 * @Author: Tqq
 * @Date: 2018/12/24 10:06
 */
@Data
@Entity
@Table(name="t_operation_role_permission")
public class OperationRolePermissionModel extends BaseEntity {

    private static final long serialVersionUID = -7344678124014983594L;

    /**
     *  id
     *  @mbggenerated
     */
    @Id
    @Column(name = "id", columnDefinition = "BIGINT")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;


    /**
     *  角色id
     *  @mbggenerated
     */
    private Long roleId;


    /**
     *  菜单id
     *  @mbggenerated
     */
    private Long permissionId;

}
